package com.efivestar.idm.api.service.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class DeviceBindDto implements Serializable {

    @Id
    private String openId;

    private String deviceId;

    private String name;

    /**
     * 摄像头id;
     */
    private String cameraId;

    /**
     * 摄像头对应的账户.
     */
    private String cameraAccount;

    private String cameraPassword;

    private Date createTime;

    /**
     * 用户的开锁密码.
     */
    private String password;

}
